<template>
  <div class="header-box">
    <div class="textLeft">
      <img src="../assets/image/sysName.png" />
    </div>
    <div class="textRight">
      <div>
        <i class="el-icon-message"></i>
        消息{{menuList[0].name}}
      </div>
      <div>
        <i class="el-icon-user-solid"></i>
        <!-- 您好，{{ user.userInfo.realName }} -->
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">import { reactive } from 'vue';

let menuList = reactive([
  {
    name: "张三",
    age: 23
  }
])
</script>

<style lang="scss" scoped>
.header-box {
  background: url("../assets/image/top-bg.png");
  background-size: 100% 100%;
  width: 100%;
  height: 100px;
  font-size: 14px;
  font-family: PingFangSC, PingFangSC-Regular;
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  .textLeft {
    position: relative;
  }
  .textRight {
    display: flex;
    > div {
      margin-right: 20px;
      i {
        font-weight: bold;
      }
    }
  }
}
</style>
